.home-index {
  display: flex;
  flex-direction: column;
  width: 100%;

  .search {
    width: 100%;
    height: 44PX;
    background-color: #409EFF;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;

    .search-con {
      width: 80%;
      height: 30PX;
      background-color: #FFFFFF;
      border-radius: 5PX;
      display: flex;
      flex-direction: row;
      align-items: center;

      .search-text {
        font-size: 14PX;
        color: #cccccc;
        display: inline-block;
      }
    }
  }

  .home-body {
    padding: 10PX;

    .swiper-home-con {
      width: 100%;
      height: 150PX;
      min-width: 340PX;
      border-radius: 10PX;
    }

    @media screen and (device-width: 320px) and (device-height: 568px) and (-webkit-device-pixel-ratio: 2) {

      .swiper-home-con {
        width: 90%;
        height: 150PX;
        min-width: 300PX;
        border-radius: 10PX;
      }

    }

    .tags {
      margin-top: 10PX;
      display: flex;
      flex-direction: row;
      justify-content: space-around;
      margin-bottom: 10PX;

      .tags-info {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;

        .tag-img {
          width: 45PX;
          height: 45PX;
          justify-content: center;
          align-items: center;
        }

        .tag-name {
          font-size: 14PX;
          color: #C0C4CC;
          padding: 3Px;
        }


        .tag-active-kb {
          color: #D733F2
        }

        .tag-active-dd {
          color: #FF4F30
        }

        .tag-active-cd {
          color: #FF2B94
        }

        .tag-active-xs {
          color: #006FFF
        }

      }

      .tag {
        font-size: 12PX;
        background-color: #F2F6FC;
        color: #C0C4CC;
        text-align: center;
        width: 60PX;
        height: 30PX;
        line-height: 30PX;
      }

      .active {
        color: #8DC9F7;
        background-color: #E3F5FC;
      }
    }

    .tag-fixed {
      position: fixed;
      top: 0;
      width: 100%;
    }

    .product-list {
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      width: 100%;
      margin-top: 10PX;

      .have-no-data {
        margin-top: 50Px;
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        font-size: 14Px;
        color: #C0C4CC
      }

      .product {
        width: 98%;
        height: 100Px;
        display: flex;
        flex-direction: row;
        align-items: center;
        border-radius: 5PX;
        position: relative;
        overflow: hidden;
        margin-bottom: 10PX;
        -moz-box-shadow: 1Px 1Px 10Px #DCDFE6;
        -webkit-box-shadow: 1Px 1Px 10Px #DCDFE6;
        box-shadow: 1Px 1Px 10Px #DCDFE6;

        .product-jiaobiao {
          font-size: 13px;
          line-height: 3em;
          width: 6em;
          color: #ffffff;
          background: #F56C6C;
          position: absolute;
          left: 0;
          top: 0;
          z-Index: 2;
          -webkit-transform-origin: right bottom;
          -moz-transform-origin: right bottom;
          transform-origin: right bottom;
          -webkit-transform: translate(-29.29%, -100%) rotate(-45deg);
          -moz-transform: translate(-29.29%, -100%) rotate(-45deg);
          transform: translate(-29.29%, -100%) rotate(-45deg);
          text-indent: 0;
          text-align: center;
        }

        .product-img {
          border-radius: 7PX;
          margin: 10PX;
          width: 128PX;
          height: 92PX;
        }

        .product-info {
          display: flex;
          flex-direction: column;
          flex-grow: 1;
          height: 92PX;
          width: 70%;

          .product-title {
            align-items: flex-start;
            font-size: 14PX;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            margin-right: 5PX;
            flex: 0 0 auto;
          }

          .product-tags {
            display: flex;
            width: 100%;
            flex-direction: row;

            .product-tags-item {
              line-height: 15Px;
              height: 15PX;
              text-align: center;
              width: 30PX;
              font-size: 12PX;
              border-radius: 4PX;
              margin-right: 10PX;
            }

            .product-tags-item-select {
              background: #fff1f0;
              border: 1px solid #ffa39e;
              color: #f5222d;
            }

            .product-tags-item-hot {
              background: #fff7e6;
              border: 1px solid #ffd591;
              color: #fa8c16;
            }
          }

          .product-settlement {
            width: 100%;
            display: flex;
            flex-direction: column;
            justify-content: flex-start;
            margin-top: 5PX;

            .click-cpc-money {
              width: 100%;
              display: flex;
              flex-direction: row;
              justify-content: flex-start;
              align-items: center;
              margin-top: 10PX;

              .settlement-balance {
                margin-left: 15PX;
                margin-top: 5PX;
                display: flex;
                flex-direction: row;
                justify-content: flex-start;

                .balance-font {
                  font-size: 11Px;
                  color: #999999;
                }
              }

              .cpc-money {
                display: flex;
                flex-direction: row;
                justify-content: flex-start;
                align-items: baseline;
              }
            }

            .end-time {
              margin-top: 15PX;
              font-size: 11PX;
              color: #bbbbbb;
            }
          }

          .product-sub-title {
            width: 100%;
            font-family: 'PingFang SC';
            font-size: 11Px;
            line-height: 18PX;
            color: #bbbbbb;
            flex: 1 0 auto;
            overflow: hidden;
            text-overflow: ellipsis;
            display: -webkit-box; //作为弹性伸缩盒子模型显示。
            -webkit-box-orient: vertical; //设置伸缩盒子的子元素排列方式--从上到下垂直排列
            -webkit-line-clamp: 2; //显示的行
          }

          .product-money {
            align-items: flex-end;
            display: flex;
            flex-direction: row;
            flex: 0 0 auto;

            .money {
              font-size: 14PX;
              align-items: flex-end;
            }

            .commission {
              flex-grow: 1;
              display: flex;
              flex-direction: row;
              justify-content: flex-end;
              align-items: baseline;
              color: #FA9946;
              margin-right: 10PX;
            }
          }
        }
      }
    }
  }

}
